package com.uplooking.pojo;

import java.util.UUID;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="tblmenu")
public class MenuVO {

	@Id
	@Column(name="mid")
	private String mid;
	@Column(name="mrole")
	private String mrole;
	@Column(name="mtitle")
	private String mtitle;
	@Column(name="mroute")
	private String mroute;
	@Column(name="micon")
	private String micon;
	@Column(name="mtip")
	private String mtip;
	public String getMid() {
		return mid;
	}
	public void setMid(String mid) {
		this.mid = mid;
	}
	public String getMtitle() {
		return mtitle;
	}
	public void setMtitle(String mtitle) {
		this.mtitle = mtitle;
	}
	public String getMroute() {
		return mroute;
	}
	public void setMroute(String mroute) {
		this.mroute = mroute;
	}
	public String getMicon() {
		return micon;
	}
	public void setMicon(String micon) {
		this.micon = micon;
	}
	public String getMtip() {
		return mtip;
	}
	public void setMtip(String mtip) {
		this.mtip = mtip;
	}
	public String getMrole() {
		return mrole;
	}
	public void setMrole(String mrole) {
		this.mrole = mrole;
	}
	public MenuVO() {
		super();
	}
	public MenuVO(String mrole, String mtitle, String mroute, String micon, String mtip) {
		super();
		this.mid = UUID.randomUUID().toString();
		this.mrole = mrole;
		this.mtitle = mtitle;
		this.mroute = mroute;
		this.micon = micon;
		this.mtip = mtip;
	}
	@Override
	public String toString() {
		return "MenuVO [mid=" + mid + ", mrole=" + mrole + ", mtitle=" + mtitle + ", mroute=" + mroute + ", micon="
				+ micon + ", mtip=" + mtip + "]";
	}
}
